import axios from 'axios';

export const uploadFile = (file: File) => {
  const formData = new FormData();
  formData.append('file', file);
  return axios.post('/uploadFile', formData);
};

export const downloadFile = () => {
  return axios.get('/download');
};
